package java67_adv7;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

import review.KindMan;

public class ObjSave {

	public static void main(String[] args) throws IOException {
		ObjectOutputStream oout = new ObjectOutputStream(new FileOutputStream("goodman.obj"));
		oout.writeObject(new KindMan("雷锋", 32));
		oout.close();
	}
}
